跳到主要内容

Class TransformExtension

Provides extension suport for Transform.

Methods

FindChildrenByTag(Transform transform, string tag)

public static IEnumerable<Transform> FindChildrenByTag(Transform transform, string tag)

FindChildrenByTag(Transform transform, string tag, IList<Transform> result)

public static void FindChildrenByTag(Transform transform, string tag, IList<Transform> result)

FindChildrenByTag<T>(Transform transform, string tag)

public static IEnumerable<T> FindChildrenByTag<T>(Transform transform, string tag)

FindChildrenByTag<T>(Transform transform, string tag, IList<T> result)

public static void FindChildrenByTag<T>(Transform transform, string tag, IList<T> result)

FindChildByTag(Transform self, string tag, [bool recursive = false])

public static Transform? FindChildByTag(Transform self, string tag, [bool recursive = false])

FindChildByTag<T>(Transform self, string tag, [bool recursive = false])

public static T FindChildByTag<T>(Transform self, string tag, [bool recursive = false])

FindChildByName(Transform transform, string name, [bool recursive = false])

public static Transform? FindChildByName(Transform transform, string name, [bool recursive = false])

DestroyAllChildren(Transform self)

public static void DestroyAllChildren(Transform self)

GetChildren(Transform self, IList<Transform> result, [bool recursive = false])

public static void GetChildren(Transform self, IList<Transform> result, [bool recursive = false])

GetChildren(Transform self, [bool recursive = false])

public static IEnumerable<Transform> GetChildren(Transform self, [bool recursive = false])

GetChildrenPath(Transform self, List<string> result, [bool recursive = false])

public static void GetChildrenPath(Transform self, List<string> result, [bool recursive = false])

GetChildrenPath(Transform self, [bool recursive = false])

public static IEnumerable<string> GetChildrenPath(Transform self, [bool recursive = false])